void solidcolorrainbow() {
static int r = 255, g = 0,b = 0;
static int phase = 0;
static int dif = 1;
  switch (phase) {
    case 0:
      r -= dif;
      g += dif;
      if (r <= 0) {
        r = 0;
        g = 255;
        phase = 1;
      }
      break;
    case 1:
      g -= dif;
      b += dif;
      if (g <= 0) {
        g = 0;
        b = 255;
        phase = 2;
      }
      break;
    case 2:
      b -= dif;
      r += dif;
      if (b <= 0) {
        b = 0;
        r = 255;
        phase = 0;
      }
      break;
  }
  for (int i; i < 120; i++) {
    leds[i] = CRGB(r,g,b);
  }
  FastLED.show();
  delay(5);
  
}

void solidcolor() {
static int phase = 0;
static int dimmer = 0;
static int dif = 1;
static boolean up = true;
static CRGB col;

  col = doublecolor(phase);
  if (up) {
    dimmer = dimmer + dif;
    if (dimmer > 255) {
      dimmer = 255;
      up = false;
    }
  } else {
    dimmer = dimmer - dif;
    if (dimmer < 0) {
      dimmer = 0;
      up = true;
      phase++;
      if (phase > 12)
        phase = 0;
    }
  }
  for (int i; i < 120; i++) {
    leds[i] = col;
    leds[i].fadeToBlackBy(255 - dimmer);
  }
  FastLED.show();
//  delay(2);
  
}

